<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/jquery-3.4.1.js"></script>
	</head>
	<body>
		<div>文本</div>
		<input type="text" value="123456"/>
		<input type="button"  value="按钮上的文字"/>
		<button>按钮上的文字</button>
		<script>
			//var s = $("div").html("<b>修改之后的文本</b>");
			var s = $("div").text("<b>修改之后的文本</b>");
			console.log(s);
			
			//var t = $(":text").val("654321");
			var t = $(":text").val();
			console.log(t);
			document.getElementsByTagName("input")[0].value = "11111";
			console.log(document.getElementsByTagName("input")[0].value);
		</script>
	</body>
</html>
